﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Configuration;

namespace envir2plotwatt
{
    [Serializable]
    public class ApplicationConfiguration : IConfiguration
    {
        public string ComPort { get; set; }
        public MonitorToMeterMappings Mappings { get; set; }
        public string UserName { get; set; }
        public string Password { get; set; }
        public bool AutoSaveOnExit { get; set; }
        public bool PostEnable { get; set; }

        public void DefaultConfiguration()
        {
            UserName = "01acc2df7e7349b4";
            Password = "temp";

            PostEnable = false;

            ComPort = "COM9";
        }

        public void CheckConfiguration()
        {
            throw new NotImplementedException();
        }
    }
}
